3.191 \(\int x \left (a \left (b x^n\right )^p\right )^q \, dx\)

Optimal. Leaf size=23 \[ \frac{x^2 \left (a \left (b x^n\right )^p\right )^q}{n p q+2} \]

[Out]

(x^2*(a*(b*x^n)^p)^q)/(2 + n*p*q)

_______________________________________________________________________________________

Rubi [A]  time = 0.0536583, antiderivative size = 23, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.154 \[ \frac{x^2 \left (a \left (b x^n\right )^p\right )^q}{n p q+2} \]

Antiderivative was successfully verified.

[In]  Int[x*(a*(b*x^n)^p)^q,x]

[Out]

(x^2*(a*(b*x^n)^p)^q)/(2 + n*p*q)

_______________________________________________________________________________________

Rubi in Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x*(a*(b*x**n)**p)**q,x)

[Out]

Timed out

_______________________________________________________________________________________

Mathematica [A]  time = 0.00864146, size = 23, normalized size = 1. \[ \frac{x^2 \left (a \left (b x^n\right )^p\right )^q}{n p q+2} \]

Antiderivative was successfully verified.

[In]  Integrate[x*(a*(b*x^n)^p)^q,x]

[Out]

(x^2*(a*(b*x^n)^p)^q)/(2 + n*p*q)

_______________________________________________________________________________________

Maple [A]  time = 0.003, size = 24, normalized size = 1. \[{\frac{{x}^{2} \left ( a \left ( b{x}^{n} \right ) ^{p} \right ) ^{q}}{npq+2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x*(a*(b*x^n)^p)^q,x)

[Out]

x^2*(a*(b*x^n)^p)^q/(n*p*q+2)

_______________________________________________________________________________________

Maxima [A]  time = 1.65826, size = 36, normalized size = 1.57 \[ \frac{a^{q}{\left (b^{p}\right )}^{q} x^{2}{\left ({\left (x^{n}\right )}^{p}\right )}^{q}}{n p q + 2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(((b*x^n)^p*a)^q*x,x, algorithm="maxima")

[Out]

a^q*(b^p)^q*x^2*((x^n)^p)^q/(n*p*q + 2)

_______________________________________________________________________________________

Fricas [A]  time = 0.248069, size = 39, normalized size = 1.7 \[ \frac{x^{2} e^{\left (n p q \log \left (x\right ) + p q \log \left (b\right ) + q \log \left (a\right )\right )}}{n p q + 2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(((b*x^n)^p*a)^q*x,x, algorithm="fricas")

[Out]

x^2*e^(n*p*q*log(x) + p*q*log(b) + q*log(a))/(n*p*q + 2)

_______________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \[ \int x \left (a \left (b x^{n}\right )^{p}\right )^{q}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x*(a*(b*x**n)**p)**q,x)

[Out]

Integral(x*(a*(b*x**n)**p)**q, x)

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.246837, size = 39, normalized size = 1.7 \[ \frac{x^{2} e^{\left (n p q{\rm ln}\left (x\right ) + p q{\rm ln}\left (b\right ) + q{\rm ln}\left (a\right )\right )}}{n p q + 2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(((b*x^n)^p*a)^q*x,x, algorithm="giac")

[Out]

x^2*e^(n*p*q*ln(x) + p*q*ln(b) + q*ln(a))/(n*p*q + 2)